from PyQt5.Qt import QApplication
import sys
from pypy.LoginPage import LoginPage
from pypy.food_modify import Ui_MainWindow


def main():
    app = QApplication(sys.argv)  # 实例化qt界面
    login_page = LoginPage()  # 弹出界面
    login_page.show()
    sys.exit(app.exec())


if __name__ == '__main__':
    main()


